package com.dongdongshop.service.specification;

import com.dongdongshop.pojo.specification.TbSpecification;
import com.dongdongshop.pojo.specificationOption.TbSpecificationOption;

import java.util.List;

public interface SpecificationService {
    List<TbSpecification> getSpecificationInfo();

    void addSpecificationAndOption(TbSpecification s, List<TbSpecificationOption> specificationOptions);

    TbSpecification getSpecificationById(Long id);

    void updateSpecification(TbSpecification s, List<TbSpecificationOption> specificationOptions);

    void deleteSpecificationById(Long id);

    List<TbSpecificationOption> getSpecificationValue(Long id);

    TbSpecificationOption getSpeName(Long id);
}
